package com.itheima.service;

import com.itheima.entity.BookingPagesBean;
import com.itheima.entity.PageResult;
import com.itheima.entity.Result;
import com.itheima.pojo.BookingOrder;

import java.util.List;
import java.util.Map;

public interface BookingOrderService {
    List<Integer> findSetmealIdsByOrderId(Integer id);

    //根据分页查询
    PageResult findPage(BookingPagesBean queryPageBean);
    //删除预约订单方法
    void delete(Integer id);

    //通过订单id查询预约订单所有信息
    Map<String,Object> findOrderById(Integer id);

    //新增电话预约套餐
//void addPhoneOrder(Map map) throws Exception;
    Result addPhoneOrder(Map map) throws Exception;

    void edit(Map map, Integer setmealId) throws Exception;

    //状态修改按钮
    void statusEdit(Map map);

    //PageResult findPage(Map map) throws Exception;
}
